#ifndef _BOOKMARK_H
#define _BOOKMARK_H

#include "Tag.h"

class BookMark
{

public:
	BookMark();
	BookMark(Tag* tag);
	virtual ~BookMark();

	BookMark(const BookMark& source);
	BookMark& operator = (const BookMark& source);

	bool operator == (const BookMark& source);
	bool operator != (const BookMark& source);

	string& GetTagTitle() const;
	Tag* GetTag() const;

private:
	Tag* tag;

};

inline string& BookMark::GetTagTitle() const
{
	return const_cast<string&>(this->tag->GetTitle());
}

inline Tag* BookMark::GetTag() const
{
	return const_cast<Tag*>(this->tag);
}

#endif
